home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTEEEELLLLLLLL((((3333CCCC)))) TTTTEEEELLLLLLLL((((3333CCCC))))
-
-
-
- NNNNAAAAMMMMEEEE
- _tttt_eeee_llll_llll, _tttt_eeee_llll_llll_6666_4444 - return the read/write file pointer
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
-
- ooooffffffff____tttt tttteeeellllllll ((((iiiinnnntttt ffffiiiilllleeeeddddeeeessss))));;;;
-
- ooooffffffff66664444____tttt tttteeeellllllll66664444 ((((iiiinnnntttt ffffiiiilllleeeeddddeeeessss))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _f_i_l_e_d_e_s is a file descriptor returned from a _cccc_rrrr_eeee_aaaa_tttt, _oooo_pppp_eeee_nnnn, _dddd_uuuu_pppp, _ffff_cccc_nnnn_tttt_llll,
- _pppp_iiii_pppp_eeee, or _iiii_oooo_cccc_tttt_llll, system call. _tttt_eeee_llll_llll and _tttt_eeee_llll_llll_6666_4444 return the file pointer
- associated with _f_i_l_e_d_e_s.
-
- The two differ in that _tttt_eeee_llll_llll returns an off_t and _tttt_eeee_llll_llll_6666_4444 returns an
- off64_t. The 64-bit offset returned by _tttt_eeee_llll_llll_6666_4444 is useful for 32 bit
- applications working with 64 bit files. This is because the 32 bit
- offset returned by _tttt_eeee_llll_llll might not be large enough to represent the
- current file offset.
-
- _tttt_eeee_llll_llll_((((_ffff_iiii_llll_eeee_dddd_eeee_ssss_)))) is equivalent to:
-
- _llll_ssss_eeee_eeee_kkkk_((((_ffff_iiii_llll_eeee_dddd_eeee_ssss_,,,, _0000_,,,, _SSSS_EEEE_EEEE_KKKK______CCCC_UUUU_RRRR_)))).
-
- _tttt_eeee_llll_llll_6666_4444_((((_ffff_iiii_llll_eeee_dddd_eeee_ssss_)))) is equivalent to:
-
- _llll_ssss_eeee_eeee_kkkk_6666_4444_((((_ffff_iiii_llll_eeee_dddd_eeee_ssss_,,,, _0000_,,,, _SSSS_EEEE_EEEE_KKKK______CCCC_UUUU_RRRR_)))).
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- lseek(2), lseek64(2)
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- On success, _tttt_eeee_llll_llll and _tttt_eeee_llll_llll_6666_4444 return the current pointer location, as
- measured in bytes from the beginning of the file.
-
- _tttt_eeee_llll_llll and _tttt_eeee_llll_llll_6666_4444 fail if one or more of the following are true:
-
- _EEEE_BBBB_AAAA_DDDD_FFFF _f_i_l_d_e_s is not an open file descriptor.
-
- _EEEE_SSSS_PPPP_IIII_PPPP_EEEE _f_i_l_d_e_s is associated with a pipe or fifo.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-